#include "progressbar.hpp"

//不使用默认色 fg bg只引用不管理
class TextureBar:public ProgressBar{
    protected:
    SDL_Texture *fg,*bg;
    public:
    TextureBar(Window* w,SDL_Rect& r,SDL_Texture* fg,SDL_Texture* bg,double init=1.);
    void _draw();
    ~TextureBar();
};